﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using KeaoBase;
using System.Reflection;
using System.Data;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using System.IO;

namespace KeaoMDS
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (new Login().ShowDialog() == DialogResult.OK)
            {
                Application.Run(new MainForm());
            }
            else
            {
                Environment.Exit(0);
            }
        }

    }
}
